package structural.decorator;

/**
 * @Description: 装饰器测试类
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class DecoratorTest {
    public static void main(String[] args) {
        AbstractRefill refill = new BlueRefill();
        AbstractWrapper whiteWrapper = new WhiteWrapper(refill);
        new WrapperCheckDecorator(whiteWrapper).write();
    }
}
